package com.leyou.item.bo;

import com.leyou.item.pojo.Sku;
import com.leyou.item.pojo.Spu;
import com.leyou.item.pojo.SpuDetail;

import java.util.List;

// 业务扩展类，为了对应业务处理而设计的类，不对应实际数据库实体
public class SpuBo extends Spu {

    String cname;// 商品分类名称--商品列表

    String bname;// 品牌名称--商品列表

    SpuDetail spuDetail;// 商品详情--商品新增
    List<Sku> skus;// sku列表--商品新增


    public SpuDetail getSpuDetail() {
        return spuDetail;
    }

    public void setSpuDetail(SpuDetail spuDetail) {
        this.spuDetail = spuDetail;
    }

    public List<Sku> getSkus() {
        return skus;
    }

    public void setSkus(List<Sku> skus) {
        this.skus = skus;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }
}
